package com.adcc.ags.cgw.entity.msg;

import com.adcc.ags.cgw.entity.BaseEntity;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.base.Optional;

/**
 * 目的路由实体
 */
public class DestRoute extends BaseEntity{

    // 用户ID
    private String userId;

    // 用户队列
    private String queue;

    /**
     * 构造函数
     */
    public DestRoute(){

    }

    /**
     * 构造函数
     * @param userId
     * @param queue
     */
    public DestRoute(String userId,String queue){
        this.userId = userId;
        this.queue = queue;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getQueue() {
        return queue;
    }

    public void setQueue(String queue) {
        this.queue = queue;
    }

    @Override
    public Optional<? extends BaseEntity> formatJson(String json) throws Exception {
        return null;
    }

    @Override
    public String toJSON() throws JsonProcessingException {
        return null;
    }
}
